<?php
namespace app\common\validate;
use think\Validate;
use think\Request;
class Lunbo extends Validate{
    protected $rule =   [
        'title'   => 'require',
        'thumb'  => 'require',
        // 'typeid'  => 'require',
    ];

    protected $message  =   [
        'title.require'   => '任务名称不能为空',
        'thumb.require'   => '图片不能为空',
        // 'typeid.require'   => '未选择比赛类型',
    ];
}